

ac.item('转生之源'){
    item_type = "charged",
    auto_merge = true,
    count = 1,
    cool = 0.2,
    model = [[WP_zszy.mdl]],
    art = [[图标\wp_qhbs.blp]],
    on_use = function(self, item)
        local unit = self.owner
        local player = unit.owner
        local hero = player.hero

        hero:set_data('转生次数',hero:get_data('转生次数',0) + 1)
        player:notify('玩家-随机英雄',player)
    end
}